import request from "@/utils/request"

export const getLogisticsPricePageApi = (page,pageSize,category,logisticsCompanyId) => request.get(`/logisticsPrice?page=${page}&pageSize=${pageSize}&category=${category}&logisticsCompanyId=${logisticsCompanyId}`)

export const addLogisticsPriceApi = (data) => request.post('/logisticsPrice',data)

export const deleteLogisticsPriceApi = (id) => request.delete(`/logisticsPrice/${id}`)

export const updateLogisticsPriceApi = (data) => request.put('/logisticsPrice',data)